<%@ include file="uploadcommon.inc" %>
    <table width="100%" cellspacing="0" cellpadding="0">
        <tr>
          <td class="td_center"><span class="title-big-b-center">
          <%= label.getLabelName("L_Pharmacy") + label.getLabelName("L_Upload")%>
          </span></td>
        </tr>
      </table>
      <table border="1" cellspacing="0" bordercolorlight="#999999" bordercolordark="#FFFFFF" cellpadding="0" width="100%">
        <tr class="deepblue-left">
            <td class="title_center" width="100"><%= label.getLabelName("L_Pharmacy") + label.getLabelName("L_Code")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_ReferenceNumber")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_Pharmacy") + label.getLabelName("L_Name")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_Shortname")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_ParentOrgShortName")%></td>           
            <td class="title_center" width="100"><%= label.getLabelName("L_Type")%></td>              
            <td class="title_center" width="100"><%= label.getLabelName("L_Status")%></td>           
            <td class="title_center" width="100"><%= label.getLabelName("L_Province")%></td>              
            <td class="title_center" width="100"><%= label.getLabelName("L_City")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_County")%></td>
			<td class="title_center" width="100"><%= label.getLabelName("L_URL")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_Telephone")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_Fax")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_Email")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_ZipCode")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_Address")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_Comments")%></td>
        </tr>
        <logic:iterate id="pharmacyinfo" collection="<%= pharmacyvector %>"  indexId="idx">
        <%
        	HashMap pharmacymap = (HashMap)pageContext.getAttribute("pharmacyinfo");
          if((idx.intValue())%2 == 1)
          {
            	strClassType = "td-listrom";
          }else{
            	strClassType = "";
          }
        %>
       	<tr onMouseOver="this.className='tr-over'" onMouseOut="this.className='<%=JspHelper.filterNull( strClassType )%>'"  class="<%=JspHelper.filterNull( strClassType )%>">
            <td>&nbsp;<custom:write property="orgcode" name="pharmacyinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="referenceorgcode" name="pharmacyinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="orgname" name="pharmacyinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="shortname" name="pharmacyinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="parentorgcode" name="pharmacyinfo" nbsp="true"/></td>          
            <td>&nbsp;<custom:write property="typename" name="pharmacyinfo" nbsp="true"/></td>        
            <td>&nbsp;<custom:write property="statusname" name="pharmacyinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="regionname" name="pharmacyinfo" nbsp="true"/></td>        
            <td>&nbsp;<custom:write property="cityname" name="pharmacyinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="countyname" name="pharmacyinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="url" name="pharmacyinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="telephone" name="pharmacyinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="fax" name="pharmacyinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="email" name="pharmacyinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="zipcode" name="pharmacyinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="address" name="pharmacyinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="comments" name="pharmacyinfo" nbsp="true"/></td>
       	</tr>
      </logic:iterate>
</table>
